package com.redis.demo.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author keven
 * @date 2025-05-10 7:51 上午
 * @Description
 */
@Data
@Component
@ConfigurationProperties(prefix = "redis")
public class RedisProperties {

    private String host;

    private String port;

    private Integer maxTotal;

    private Integer maxIdle;

    private Integer minIdle;

}
